const getRequestTry = () => {
    return new Promise((resolve, rejects) => {
        wx.request({
            url: 'http://172.17.255.145:8080/',
            method: 'get',
            success: function (res) {
                resolve (res.data.result)
            }
        })
    })
}

module.exports = {
    getRequestTry: getRequestTry
}